package com.sp2.dev.test.listener.listenertest;

/**
 * Created by IntelliJ IDEA.
 * User: zhimingli
 * Date: 14-2-10
 * Time: 下午2:47
 * To change this template use File | Settings | File Templates.
 */
public class TargetImpl extends Target {
    
    @Override
    public void noifyLook(String name,String talkMessage) {

        for(Look look:lookList){
             if(!look.getName().equalsIgnoreCase(name)){
                 look.getMessage(talkMessage);
             }
        }
    }
}
